package com.sg.service.biz.dataassets.nb;

import cn.hutool.core.bean.BeanUtil;
import com.sg.dto.biz.dataassets.req.ImplementUnstructuredDataReceiveFieldReqDto;
import com.sg.dto.biz.dataassets.req.QueryUnstructuredDataExtractFieldDetailReqDto;
import com.sg.dto.biz.dataassets.res.ImplementUnstructuredDataReceiveFieldRespDto;
import com.sg.dto.biz.dataassets.res.QueryUnstructuredDataExtractFieldDetailRespDto;
import org.apache.skywalking.apm.toolkit.trace.Tag;
import org.apache.skywalking.apm.toolkit.trace.Tags;
import org.apache.skywalking.apm.toolkit.trace.Trace;
import org.springframework.stereotype.Service;

/**
 * @author ： 手工接入方法
 * @version 1.0
 * @since 2022/5/28 15:32
 */
@Service
public class NbAlbum {
    /**
     * code:receptionService
     * name:M8接收出参字段：专辑列表
     * desc:undefined
     * gen by moon at 11/11/2024, 1:27:53 AM
     **/
    @Trace(operationName = "M8接收出参字段：专辑列表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    public ImplementUnstructuredDataReceiveFieldRespDto implementUnstructuredDataReceiveField(ImplementUnstructuredDataReceiveFieldReqDto reqDto) {
        return BeanUtil.toBean(reqDto, ImplementUnstructuredDataReceiveFieldRespDto.class);
    }

    /**
     * code:receptionService
     * name:M8约定当前就职记录ID字段
     * desc:undefined
     * gen by moon at 5/11/2025, 1:22:10 PM
     **/
    @Trace(operationName = "M8约定当前就职记录ID字段")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    public QueryUnstructuredDataExtractFieldDetailRespDto queryUnstructuredDataExtractFieldDetail(QueryUnstructuredDataExtractFieldDetailReqDto reqDto) {
        return BeanUtil.toBean(reqDto, QueryUnstructuredDataExtractFieldDetailRespDto.class);
    }
    //手工接入方法
}
